0 Prolog
↳1 CutEliminatorProof (⇒, 0 ms)
↳2 Prolog
↳3 PrologToPiTRSProof (⇒, 57 ms)
↳4 PiTRS
↳5 DependencyPairsProof (⇔, 98 ms)
↳6 PiDP
↳7 DependencyGraphProof (⇔, 0 ms)
↳8 PiDP
↳9 UsableRulesProof (⇔, 0 ms)
↳10 PiDP
↳11 PiDPToQDPProof (⇒, 0 ms)
↳12 QDP
↳13 Rewriting (⇔, 0 ms)
↳14 QDP
↳15 UsableRulesProof (⇔, 0 ms)
↳16 QDP
↳17 QReductionProof (⇔, 6 ms)
↳18 QDP
↳19 Rewriting (⇔, 0 ms)
↳20 QDP
↳21 UsableRulesProof (⇔, 0 ms)
↳22 QDP
↳23 QReductionProof (⇔, 0 ms)
↳24 QDP
↳25 Narrowing (⇒, 0 ms)
↳26 QDP
↳27 UsableRulesProof (⇔, 0 ms)
↳28 QDP
↳29 QReductionProof (⇔, 0 ms)
↳30 QDP
↳31 Instantiation (⇔, 0 ms)
↳32 QDP
↳33 Instantiation (⇔, 0 ms)
↳34 QDP
↳35 QDPOrderProof (⇔, 33 ms)
↳36 QDP
↳37 DependencyGraphProof (⇔, 0 ms)
↳38 QDP
↳39 Instantiation (⇔, 0 ms)
↳40 QDP
↳41 DependencyGraphProof (⇔, 0 ms)
↳42 TRUE
div_in_gga(X, Y, Z) → U1_gga(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
quot_in_ggga(0, s(Y), s(Z), R) → U2_ggga(Y, Z, R, eq_in_ag(R, 0))
eq_in_ag(X, X) → eq_out_ag(X, X)
U2_ggga(Y, Z, R, eq_out_ag(R, 0)) → quot_out_ggga(0, s(Y), s(Z), R)
quot_in_ggga(X, 0, Z, U) → U3_ggga(X, Z, U, eq_in_ga(Z, s(X1)))
eq_in_ga(X, X) → eq_out_ga(X, X)
U3_ggga(X, Z, U, eq_out_ga(Z, s(X1))) → U4_ggga(X, Z, U, p_in_aa(U, P))
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
U4_ggga(X, Z, U, p_out_aa(U, P)) → U5_ggga(X, Z, U, quot_in_ggga(X, Z, Z, P))
quot_in_ggga(s(X), Y, Z, U) → U6_ggga(X, Y, Z, U, p_in_ga(Y, P))
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
U6_ggga(X, Y, Z, U, p_out_ga(Y, P)) → U7_ggga(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U7_ggga(X, Y, Z, U, quot_out_ggga(X, P, Z, U)) → quot_out_ggga(s(X), Y, Z, U)
U5_ggga(X, Z, U, quot_out_ggga(X, Z, Z, P)) → quot_out_ggga(X, 0, Z, U)
U1_gga(X, Y, Z, quot_out_ggga(X, Y, Y, Z)) → div_out_gga(X, Y, Z)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
div_in_gga(X, Y, Z) → U1_gga(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
quot_in_ggga(0, s(Y), s(Z), R) → U2_ggga(Y, Z, R, eq_in_ag(R, 0))
eq_in_ag(X, X) → eq_out_ag(X, X)
U2_ggga(Y, Z, R, eq_out_ag(R, 0)) → quot_out_ggga(0, s(Y), s(Z), R)
quot_in_ggga(X, 0, Z, U) → U3_ggga(X, Z, U, eq_in_ga(Z, s(X1)))
eq_in_ga(X, X) → eq_out_ga(X, X)
U3_ggga(X, Z, U, eq_out_ga(Z, s(X1))) → U4_ggga(X, Z, U, p_in_aa(U, P))
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
U4_ggga(X, Z, U, p_out_aa(U, P)) → U5_ggga(X, Z, U, quot_in_ggga(X, Z, Z, P))
quot_in_ggga(s(X), Y, Z, U) → U6_ggga(X, Y, Z, U, p_in_ga(Y, P))
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
U6_ggga(X, Y, Z, U, p_out_ga(Y, P)) → U7_ggga(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U7_ggga(X, Y, Z, U, quot_out_ggga(X, P, Z, U)) → quot_out_ggga(s(X), Y, Z, U)
U5_ggga(X, Z, U, quot_out_ggga(X, Z, Z, P)) → quot_out_ggga(X, 0, Z, U)
U1_gga(X, Y, Z, quot_out_ggga(X, Y, Y, Z)) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
DIV_IN_GGA(X, Y, Z) → QUOT_IN_GGGA(X, Y, Y, Z)
QUOT_IN_GGGA(0, s(Y), s(Z), R) → U2_GGGA(Y, Z, R, eq_in_ag(R, 0))
QUOT_IN_GGGA(0, s(Y), s(Z), R) → EQ_IN_AG(R, 0)
QUOT_IN_GGGA(X, 0, Z, U) → U3_GGGA(X, Z, U, eq_in_ga(Z, s(X1)))
QUOT_IN_GGGA(X, 0, Z, U) → EQ_IN_GA(Z, s(X1))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, U, p_in_aa(U, P))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → P_IN_AA(U, P)
U4_GGGA(X, Z, U, p_out_aa(U, P)) → U5_GGGA(X, Z, U, quot_in_ggga(X, Z, Z, P))
U4_GGGA(X, Z, U, p_out_aa(U, P)) → QUOT_IN_GGGA(X, Z, Z, P)
QUOT_IN_GGGA(s(X), Y, Z, U) → U6_GGGA(X, Y, Z, U, p_in_ga(Y, P))
QUOT_IN_GGGA(s(X), Y, Z, U) → P_IN_GA(Y, P)
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → U7_GGGA(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z, U)
div_in_gga(X, Y, Z) → U1_gga(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
quot_in_ggga(0, s(Y), s(Z), R) → U2_ggga(Y, Z, R, eq_in_ag(R, 0))
eq_in_ag(X, X) → eq_out_ag(X, X)
U2_ggga(Y, Z, R, eq_out_ag(R, 0)) → quot_out_ggga(0, s(Y), s(Z), R)
quot_in_ggga(X, 0, Z, U) → U3_ggga(X, Z, U, eq_in_ga(Z, s(X1)))
eq_in_ga(X, X) → eq_out_ga(X, X)
U3_ggga(X, Z, U, eq_out_ga(Z, s(X1))) → U4_ggga(X, Z, U, p_in_aa(U, P))
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
U4_ggga(X, Z, U, p_out_aa(U, P)) → U5_ggga(X, Z, U, quot_in_ggga(X, Z, Z, P))
quot_in_ggga(s(X), Y, Z, U) → U6_ggga(X, Y, Z, U, p_in_ga(Y, P))
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
U6_ggga(X, Y, Z, U, p_out_ga(Y, P)) → U7_ggga(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U7_ggga(X, Y, Z, U, quot_out_ggga(X, P, Z, U)) → quot_out_ggga(s(X), Y, Z, U)
U5_ggga(X, Z, U, quot_out_ggga(X, Z, Z, P)) → quot_out_ggga(X, 0, Z, U)
U1_gga(X, Y, Z, quot_out_ggga(X, Y, Y, Z)) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
DIV_IN_GGA(X, Y, Z) → QUOT_IN_GGGA(X, Y, Y, Z)
QUOT_IN_GGGA(0, s(Y), s(Z), R) → U2_GGGA(Y, Z, R, eq_in_ag(R, 0))
QUOT_IN_GGGA(0, s(Y), s(Z), R) → EQ_IN_AG(R, 0)
QUOT_IN_GGGA(X, 0, Z, U) → U3_GGGA(X, Z, U, eq_in_ga(Z, s(X1)))
QUOT_IN_GGGA(X, 0, Z, U) → EQ_IN_GA(Z, s(X1))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, U, p_in_aa(U, P))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → P_IN_AA(U, P)
U4_GGGA(X, Z, U, p_out_aa(U, P)) → U5_GGGA(X, Z, U, quot_in_ggga(X, Z, Z, P))
U4_GGGA(X, Z, U, p_out_aa(U, P)) → QUOT_IN_GGGA(X, Z, Z, P)
QUOT_IN_GGGA(s(X), Y, Z, U) → U6_GGGA(X, Y, Z, U, p_in_ga(Y, P))
QUOT_IN_GGGA(s(X), Y, Z, U) → P_IN_GA(Y, P)
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → U7_GGGA(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z, U)
div_in_gga(X, Y, Z) → U1_gga(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
quot_in_ggga(0, s(Y), s(Z), R) → U2_ggga(Y, Z, R, eq_in_ag(R, 0))
eq_in_ag(X, X) → eq_out_ag(X, X)
U2_ggga(Y, Z, R, eq_out_ag(R, 0)) → quot_out_ggga(0, s(Y), s(Z), R)
quot_in_ggga(X, 0, Z, U) → U3_ggga(X, Z, U, eq_in_ga(Z, s(X1)))
eq_in_ga(X, X) → eq_out_ga(X, X)
U3_ggga(X, Z, U, eq_out_ga(Z, s(X1))) → U4_ggga(X, Z, U, p_in_aa(U, P))
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
U4_ggga(X, Z, U, p_out_aa(U, P)) → U5_ggga(X, Z, U, quot_in_ggga(X, Z, Z, P))
quot_in_ggga(s(X), Y, Z, U) → U6_ggga(X, Y, Z, U, p_in_ga(Y, P))
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
U6_ggga(X, Y, Z, U, p_out_ga(Y, P)) → U7_ggga(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U7_ggga(X, Y, Z, U, quot_out_ggga(X, P, Z, U)) → quot_out_ggga(s(X), Y, Z, U)
U5_ggga(X, Z, U, quot_out_ggga(X, Z, Z, P)) → quot_out_ggga(X, 0, Z, U)
U1_gga(X, Y, Z, quot_out_ggga(X, Y, Y, Z)) → div_out_gga(X, Y, Z)
QUOT_IN_GGGA(X, 0, Z, U) → U3_GGGA(X, Z, U, eq_in_ga(Z, s(X1)))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, U, p_in_aa(U, P))
U4_GGGA(X, Z, U, p_out_aa(U, P)) → QUOT_IN_GGGA(X, Z, Z, P)
QUOT_IN_GGGA(s(X), Y, Z, U) → U6_GGGA(X, Y, Z, U, p_in_ga(Y, P))
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z, U)
div_in_gga(X, Y, Z) → U1_gga(X, Y, Z, quot_in_ggga(X, Y, Y, Z))
quot_in_ggga(0, s(Y), s(Z), R) → U2_ggga(Y, Z, R, eq_in_ag(R, 0))
eq_in_ag(X, X) → eq_out_ag(X, X)
U2_ggga(Y, Z, R, eq_out_ag(R, 0)) → quot_out_ggga(0, s(Y), s(Z), R)
quot_in_ggga(X, 0, Z, U) → U3_ggga(X, Z, U, eq_in_ga(Z, s(X1)))
eq_in_ga(X, X) → eq_out_ga(X, X)
U3_ggga(X, Z, U, eq_out_ga(Z, s(X1))) → U4_ggga(X, Z, U, p_in_aa(U, P))
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
U4_ggga(X, Z, U, p_out_aa(U, P)) → U5_ggga(X, Z, U, quot_in_ggga(X, Z, Z, P))
quot_in_ggga(s(X), Y, Z, U) → U6_ggga(X, Y, Z, U, p_in_ga(Y, P))
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
U6_ggga(X, Y, Z, U, p_out_ga(Y, P)) → U7_ggga(X, Y, Z, U, quot_in_ggga(X, P, Z, U))
U7_ggga(X, Y, Z, U, quot_out_ggga(X, P, Z, U)) → quot_out_ggga(s(X), Y, Z, U)
U5_ggga(X, Z, U, quot_out_ggga(X, Z, Z, P)) → quot_out_ggga(X, 0, Z, U)
U1_gga(X, Y, Z, quot_out_ggga(X, Y, Y, Z)) → div_out_gga(X, Y, Z)
QUOT_IN_GGGA(X, 0, Z, U) → U3_GGGA(X, Z, U, eq_in_ga(Z, s(X1)))
U3_GGGA(X, Z, U, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, U, p_in_aa(U, P))
U4_GGGA(X, Z, U, p_out_aa(U, P)) → QUOT_IN_GGGA(X, Z, Z, P)
QUOT_IN_GGGA(s(X), Y, Z, U) → U6_GGGA(X, Y, Z, U, p_in_ga(Y, P))
U6_GGGA(X, Y, Z, U, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z, U)
eq_in_ga(X, X) → eq_out_ga(X, X)
p_in_aa(0, 0) → p_out_aa(0, 0)
p_in_aa(s(X), X) → p_out_aa(s(X), X)
p_in_ga(0, 0) → p_out_ga(0, 0)
p_in_ga(s(X), X) → p_out_ga(s(X), X)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_in_ga(Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_in_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
eq_in_ga(X) → eq_out_ga(X, X)
p_in_aa → p_out_aa
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
eq_in_ga(x0)
p_in_aa
p_in_ga(x0)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_in_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
eq_in_ga(X) → eq_out_ga(X, X)
p_in_aa → p_out_aa
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
eq_in_ga(x0)
p_in_aa
p_in_ga(x0)
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_in_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_aa → p_out_aa
eq_in_ga(x0)
p_in_aa
p_in_ga(x0)
eq_in_ga(x0)
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_in_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_aa → p_out_aa
p_in_aa
p_in_ga(x0)
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_aa → p_out_aa
p_in_aa
p_in_ga(x0)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_aa
p_in_ga(x0)
p_in_aa
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(s(X), Y, Z) → U6_GGGA(X, Y, Z, p_in_ga(Y))
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_ga(x0)
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
p_in_ga(0) → p_out_ga(0, 0)
p_in_ga(s(X)) → p_out_ga(s(X), X)
p_in_ga(x0)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
p_in_ga(x0)
p_in_ga(x0)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
U6_GGGA(X, Y, Z, p_out_ga(Y, P)) → QUOT_IN_GGGA(X, P, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
U6_GGGA(z0, 0, z1, p_out_ga(0, 0)) → QUOT_IN_GGGA(z0, 0, z1)
U6_GGGA(z0, s(z1), z2, p_out_ga(s(z1), z1)) → QUOT_IN_GGGA(z0, z1, z2)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(X, Z, eq_out_ga(Z, s(X1))) → U4_GGGA(X, Z, p_out_aa)
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
U6_GGGA(z0, 0, z1, p_out_ga(0, 0)) → QUOT_IN_GGGA(z0, 0, z1)
U6_GGGA(z0, s(z1), z2, p_out_ga(s(z1), z1)) → QUOT_IN_GGGA(z0, z1, z2)
U3_GGGA(z0, s(x2), eq_out_ga(s(x2), s(x2))) → U4_GGGA(z0, s(x2), p_out_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
U6_GGGA(z0, 0, z1, p_out_ga(0, 0)) → QUOT_IN_GGGA(z0, 0, z1)
U6_GGGA(z0, s(z1), z2, p_out_ga(s(z1), z1)) → QUOT_IN_GGGA(z0, z1, z2)
U3_GGGA(z0, s(x2), eq_out_ga(s(x2), s(x2))) → U4_GGGA(z0, s(x2), p_out_aa)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QUOT_IN_GGGA(s(y0), 0, y2) → U6_GGGA(y0, 0, y2, p_out_ga(0, 0))
QUOT_IN_GGGA(s(y0), s(x0), y2) → U6_GGGA(y0, s(x0), y2, p_out_ga(s(x0), x0))
POL(0) = 0
POL(QUOT_IN_GGGA(x1, x2, x3)) = x1
POL(U3_GGGA(x1, x2, x3)) = x1
POL(U4_GGGA(x1, x2, x3)) = x1
POL(U6_GGGA(x1, x2, x3, x4)) = x1
POL(eq_out_ga(x1, x2)) = 0
POL(p_out_aa) = 0
POL(p_out_ga(x1, x2)) = 0
POL(s(x1)) = 1 + x1
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U6_GGGA(z0, 0, z1, p_out_ga(0, 0)) → QUOT_IN_GGGA(z0, 0, z1)
U6_GGGA(z0, s(z1), z2, p_out_ga(s(z1), z1)) → QUOT_IN_GGGA(z0, z1, z2)
U3_GGGA(z0, s(x2), eq_out_ga(s(x2), s(x2))) → U4_GGGA(z0, s(x2), p_out_aa)
QUOT_IN_GGGA(X, 0, Z) → U3_GGGA(X, Z, eq_out_ga(Z, Z))
U3_GGGA(z0, s(x2), eq_out_ga(s(x2), s(x2))) → U4_GGGA(z0, s(x2), p_out_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(z0, 0, 0) → U3_GGGA(z0, 0, eq_out_ga(0, 0))
U3_GGGA(z0, s(x2), eq_out_ga(s(x2), s(x2))) → U4_GGGA(z0, s(x2), p_out_aa)
U4_GGGA(X, Z, p_out_aa) → QUOT_IN_GGGA(X, Z, Z)
QUOT_IN_GGGA(z0, 0, 0) → U3_GGGA(z0, 0, eq_out_ga(0, 0))